package com.lj.system.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lj.system.mapper.SysOperLogMapper;
import com.lj.system.model.SysOperLog;
import com.lj.system.service.ISysOperLogService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 * 操作日志记录 服务实现类
 * </p>
 *
 * @author 小李飞刀
 */
@Service
public class SysOperLogServiceImpl extends ServiceImpl<SysOperLogMapper, SysOperLog> implements ISysOperLogService {

    @Resource
    private SysOperLogMapper sysOperLogMapper;

    /**
     * 清除操作日志
     */
    @Override
    public void cleanOperLog() {
        sysOperLogMapper.cleanOperLog();
    }

}
